-- This file contains constants used in the system

-- Player Stats 
PS_LEVEL		=	1
PS_CRIT_RATING		=	2
PS_HIT_RATING		=	3
PS_HASTE_RATING		=	4
PS_SPELL_POWER		=	5
PS_INTELLIGENCE		=	6
PS_SPIRIT		=	7

-- Player Stats in Precentage

PP_CRIT_PRECENTAGE	=	2
PP_HIT_PRECENTAGE	=	3
PP_HASTE_PRECENTAGE	=	4

-- Event Types
EVENT_SPELL_CAST		= 0x10000000
EVENT_SPELL_CAST_SUCCESS	= 0x10000001
EVENT_SPELL_CAST_MISS		= 0x10000002
EVENT_AURA_APPLICATION		= 0x20000001
EVENT_AURA_REMOVAL		= 0x20000002
EVENT_PERIODIC_EVENT		= 0x40000000
EVENT_PERIODIC_DAMAGE		= 0x40000001

-- Spell Types
SPELL_DAMAGE			= 0x00000001
SPELL_AURA_APPLICATION		= 0x00000002
SPELL_CHANNEL			= 0x00000004

-- Spell Schools
SPELL_SCHOOL_PHYSICAL	=	0x01
SPELL_SCHOOL_HOLY	=	0x02
SPELL_SCHOOL_FIRE	=	0x04
SPELL_SCHOOL_NATURE	=	0x08
SPELL_SCHOOL_FROST	=	0x10
SPELL_SCHOOL_SHADOW	=	0x20
SPELL_SCHOOL_ARCANE	=	0x40

--Combat (Event) Stats
CS_DAMAGE		=	2
CS_DAMAGE_PRECENTAGE	=	3
CS_CRIT_PRECENTAGE	=	4
CS_HIT_PRECENTAGE	=	5
CS_CRIT_RATING		=	6
CS_HIT_RATING		=	7
CS_HASTE_RATING		=	8
CS_CAST_TIME		=	9
CS_COOLDOWN		=	10